Fit Curves To Vectors
![](https://cdn.sanity.io/images/i7cqi3ri/11/700ea67931410febe91e907694694a31ab989056-243x380.png)
This function allows the user to fit arc, Bezier curves or straight lines to selected vectors. The newly created vectors will be approximated based on a user defined tolerance. Using this function can aid with smoothness for some toolpath options and also help to simplify data for modeling purposes.
Fitting Type
Circular Arcs
Checking ✓ this option means the selected vectors will be approximated using arcs:
![test](https://cdn.sanity.io/images/i7cqi3ri/11/d59bdf5f44939e25b791eb7f0f9a356d3e9b5555-226x247.png)
![test](https://cdn.sanity.io/images/i7cqi3ri/11/f1614cf0d079490795faba3b759fbbd811b5aa4e-226x246.png)
Bezier Curves
Checking ✓ this option means the selected vectors will be approximated using Bezier curves.
![test](https://cdn.sanity.io/images/i7cqi3ri/11/720783a38f08b845650c08bb589f0966c3c30c7d-223x244.png)
![test](https://cdn.sanity.io/images/i7cqi3ri/11/92edd2f2d924a60535a61d2b7736cdd819eae99a-233x260.png)
Straight Lines
Checking ✓ this option means the selected vectors will be approximated using straight lines.
![test](https://cdn.sanity.io/images/i7cqi3ri/11/d59bdf5f44939e25b791eb7f0f9a356d3e9b5555-226x247.png)
![test](https://cdn.sanity.io/images/i7cqi3ri/11/f500d7debe4d5b28338ed4ffb367e22dd0e4da25-226x247.png)
Tolerance
The value which is set in the Tolerance area determines how closely the original vectors will be approximated. The newly created, Arcs, Beziers or Lines will be generated within a distance of the original vector which is plus or minus the specified Tolerance value. The smaller the value the closer to the original the new data will be but it will also mean more data points will be used. A larger Tolerance will not be as accurate to the original but will have less data points.
Keep Sharp Corners
Checking ✓ this option will make the Curve Fitting routine keep sharp corners which have a difference greater than the Max Angle value specified. Any corners where the difference in angle is less than this value will be modified within the specified tolerance.
![test](https://cdn.sanity.io/images/i7cqi3ri/11/2918d6cecfcf6f6aea945520de481382e2b33c6c-598x113.png)
![test](https://cdn.sanity.io/images/i7cqi3ri/11/b08e7e277df0c2cecbd1d0cfa109f7bbcc0bf327-474x121.png)
Replace selected vectors
Checking ✓ this option will delete the current vectors and replace them with the new curve fitted vectors. Un-checking it will keep the original vectors as is and in addition create new curve fitted vectors. The new vectors will always be created on the currently selected Layer.